package com.hbms.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hbms.common.annotation.Excel;
import com.hbms.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 酒店信息对象 hotelbms_hotels
 *
 * @author zl
 * @date 2024-04-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HotelbmsHotels extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 酒店ID */
    private Long hotelId;

    /** 酒店名称 */
    @Excel(name = "酒店名称")
    private String hotelName;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    /** 官网 */
    @Excel(name = "官网")
    private String website;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationDate;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long createdBy;

    /** 酒店图片 **/
    private String hotelImg;

}
